package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 导师团队
    */
@ApiModel(value="com-lanchetech-entity-TeacherGroup")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TeacherGroup implements Serializable {
    /**
    * id
    */
    @ApiModelProperty(value="id")
    private Long id;

    /**
    * 团长id
    */
    @ApiModelProperty(value="团长id")
    private Long captainId;

    /**
    * 团长导师等级
    */
    @ApiModelProperty(value="团长导师等级")
    private Integer captainLevel;

    /**
    * 团员id
    */
    @ApiModelProperty(value="团员id")
    private Long memberId;

    /**
    * 团员导师等级
    */
    @ApiModelProperty(value="团员导师等级")
    private Integer memberLevel;

    /**
    * 团员昵称（冗余）
    */
    @ApiModelProperty(value="团员昵称（冗余）")
    private String nickname;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    private Date createdAt;

    /**
    * 更新时间
    */
    @ApiModelProperty(value="更新时间")
    private Date updatedAt;

    /**
    * 订单量
    */
    @ApiModelProperty(value="订单量")
    private Long orderCount;

    /**
    * 总业绩
    */
    @ApiModelProperty(value="总业绩")
    private BigDecimal amount;

    /**
    * 总佣金
    */
    @ApiModelProperty(value="总佣金")
    private BigDecimal commission;

    private static final long serialVersionUID = 1L;
}